Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution org.nuxeo.ecm.platform.tag.service.migrator--configuration

This contribution is part of XML component org.nuxeo.ecm.platform.tag.service.migrator inside nuxeo-platform-tag-core-9.10.jar /OSGI-INF/tag-migration.xml

Extension Point

Extension point configuration of component MigrationService.

Contributed Items

  • <migration id="tag-storage">
          <description label="migration.tag-storage">Migration of the tags storage model</description>
          <statusChangeNotifier>org.nuxeo.ecm.platform.tag.TagServiceImpl$TagServiceStatusChangeNotifier
          </statusChangeNotifier>
          <defaultState>facets</defaultState>
          <state id="relations">
            <description label="migration.tag-storage.relations">Tags stored as relations</description>
          </state>
          <state id="facets">
            <description label="migration.tag-storage.facets">Tags stored as faceted metadata</description>
          </state>
    
          <step fromState="relations" id="relations-to-facets" toState="facets">
            <description label="migration.tag-storage.relations-to-facets">Migrate tags from relations to facets</description>
            <class>org.nuxeo.ecm.platform.tag.TagsRelationsToFacetsMigrator</class>
          </step>
        </migration>

    Migrate tags from relations to facets

XML Source

<extension point="configuration" target="org.nuxeo.runtime.migration.MigrationService">

    <migration id="tag-storage">
      <description label="migration.tag-storage">Migration of the tags storage model</description>
      <statusChangeNotifier>org.nuxeo.ecm.platform.tag.TagServiceImpl$TagServiceStatusChangeNotifier
      </statusChangeNotifier>
      <defaultState>facets</defaultState>
      <state id="relations">
        <description label="migration.tag-storage.relations">Tags stored as relations</description>
      </state>
      <state id="facets">
        <description label="migration.tag-storage.facets">Tags stored as faceted metadata</description>
      </state>

      <step fromState="relations" id="relations-to-facets" toState="facets">
        <description label="migration.tag-storage.relations-to-facets">Migrate tags from relations to facets</description>
        <class>org.nuxeo.ecm.platform.tag.TagsRelationsToFacetsMigrator</class>
      </step>
    </migration>

  </extension>